package com.qf.java2201.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @date 2022/4/26
 * @desc    echarts柱状图数据封装类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class BarVo {

    //数量
    private Integer count_time;
    //日期
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    private Date create_time;
}
